# coding: utf-8
import re
#pattern = re.compile("[a-zA-Z]*ed")
pattern = re.compile("[\w.]+@[\w]+.\w{2,3}")
#pattern = re.compile("[0-9]+")
#pattern = re.compile("[a-zA-Z]*ed")

sample_string = """
Mezzanine is BSD Licensed. It can be freely used, modified, and redistributed commercially.
OVERVIEW

Mezzanine is a powerful, consistent, and flexible content management platform. Built using the Django framework,
Mezzanine provides a simple yet highly extensible architecture that encourages diving in and hacking on the code.
Mezzanine is BSD licensed and supported by a <b>diverse</b> and active community.
In some ways, Mezzanine resembles tools such as a 12389 Wordpress menangen@mail.ru that provide an intuitive interface for managing pages,
blog posts, form data, store products, and other types of content. But Mezzanine is also different (menan@co.uk).
Unlike many mary12.friend@yahoo.com other platforms that make extensive use of modules or reusable 012 applications,
Mezzanine provides most of its functionality by default.<h1></h1>
<H1>This approach yields a more integrated and pesik@ane4k.in efficient platform.</H1>

"""


print re.findall(pattern, sample_string)